﻿using System;
using System.Runtime.Serialization;
using JTLeigh.Commerce.Spencer.Core.Service.Contracts;

namespace JTLeigh.Commerce.Spencer.Features.ProductFeedback.Service.Contracts.Runtime.GetProductFeedbackSnapshot
{

	/// <summary>
	/// Request data contract for the <see cref="IProductFeedbackRuntimeService.GetProductFeedbackSnapshot"/>
	/// operation.
	/// </summary>
	[DataContract(Name = "GetProductFeedbackSnapshotReq", Namespace = "http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductFeedback/1.0/Runtime/GetProductFeedbackSnapshot/")]
	public class GetProductFeedbackSnapshotRequest : RequestBase
	{

		#region Properties

        /// <summary>
        /// Gets or sets the fully-qualified product identifier of the product whose feedback is 
        /// to be retrieved.
        /// </summary>
        /// <value>A <see cref="FullyQualifiedProductId"/> object.</value>
        [DataMember(Name = "ProductId", IsRequired = true)]
        public FullyQualifiedProductId ProductId { get; set; }

        /// <summary>
        /// Gets or sets the name of the selection behavior to use to select the product feedback.
        /// </summary>
        /// <value>The name of a selection behavior.</value>
        [DataMember(Name = "SelectionBehaviorName", IsRequired = true)]
        public string SelectionBehaviorName { get; set; }

        #endregion // Properties

	}

}
